{extend name="../../admin/view/main"}
{block name="content"}
<div class="layui-tab layui-tab-card">
    <div class="layui-tab-content">
        {include file='shop/property/log_search'}
        <table class="layui-table margin-top-10" lay-skin="line">
            {notempty name='list'}
            <thead>
            <tr>
                <th class='list-table-check-td think-checkbox'>
                    <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
                </th>
                <th class='text-left nowrap'>投资信息</th>
                <th class='text-left nowrap'>债权信息</th>
                <th class='text-left nowrap'>操作行为</th>
                <th class='text-left nowrap'>操作时间</th>
                <th></th>
            </tr>
            </thead>
            {/notempty}
            <tbody>
            {foreach $list as $key=>$vo}
            <tr>
                <td class='list-table-sort-td'>

                </td>
                <td class='nowrap'>
                    <div class="inline-block text-top sub-span-blue">
                        <div>投资产品：<span>{$vo.order_info.goods_name|default='--'}</span></div>
                        <div>投资人：<span>{$vo.order_info.name|default='--'}</span></div>
                        <div>投资人编号：<span>{$vo.order_info.customer_no|default='--'}</span></div>
                        <div>合同编号：<span>{$vo.order_info.contract_no|default='--'}</span></div>
                    </div>
                </td>
                <td>
                    <div class="inline-block text-top sub-span-blue">
                        <div>债权名称：<span>{$vo.property_info.name|default='--'}</span></div>
                        <div>债权所属人：<span>{$vo.property_info.owner|default='--'}</span></div>
                        <div>债权抵押人：<span>{$vo.property_info.mortgagor|default='--'}</span></div>
                        <div>债权有效期：<span>{$vo.property_info.date|default='--'}</span></div>
                        <div>债权匹配金额：<span>{$vo.match_cost|default='--'}</span></div>
                    </div>
                </td>
                <td>
                    <div class="inline-block text-top sub-span-blue">
                        {eq name='vo.type' value='1'}操作：<b class="color-green">匹配</b>{/eq}
                        {eq name='vo.type' value='2'}操作：<b class="color-red">解抵</b>{/eq}
                    </div>
                </td>
                <td>
                    <span>{$vo.create_at|format_datetime}</span>
                </td>
                <td class='nowrap sub-strong-blue'>
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
    </div>
</div>
{/block}
